﻿using System.Collections.Generic;
using System.Linq;
using PortalCurriculo.Domain.Interface;

namespace PortalCurriculo.Domain
{
    public partial class Area : IArea
    {
        public List<Area> SelecionarAtivos()
        {
            return (from area in Context.Instance.Areas
                    where area.Ativo
                    orderby area.Descricao
                    select area).ToList();
        }
    }
}
